use thiserror::Error;

#[derive(Error, Debug)]
pub enum DecompressError {
    #[error("offset to LZ77 bits is outside of the data")]
    OffsetOutsideData,
    #[error("LZ77 decompression offset is invalid")]
    InvalidOffset,
    #[error("not enough data")]
    NotEnoughData,
}